﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NutriLeaf.Web.Core.Pregnancy
{
    public interface IPregnancyProblems
    {
        void Insert(string problemName, string description, string cure, ref Model.NutriLeafDBEntities context);

        void Remove(int id, ref Model.NutriLeafDBEntities context);

        void Remove(string name, ref Model.NutriLeafDBEntities context);

        Model.PregnancyProblem Get(int id, ref Model.NutriLeafDBEntities context);

        string GetProblemsThatStartsWith(string startswith, ref Model.NutriLeafDBEntities context);

        Model.PregnancyProblem GetProblem(string name, ref Model.NutriLeafDBEntities context);

        List<Model.PregnancyProblem> GetAllPRoblems(ref Model.NutriLeafDBEntities context);

    }
}